<template>
  <div class="fooer">
    <van-tabbar v-model="active" active-color="#ee0a24" route>
      <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="list-switch" to="/category">分类</van-tabbar-item>
      <van-tabbar-item icon="shopping-cart-o" to="/cart">购物车</van-tabbar-item>
      <van-tabbar-item icon="user-o" to="/mine">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
import router from "@/router";
export default {
  name: "footer",
  computed: {},
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style lang="scss" scoped></style>
